package com.yuyou.tas.lesson.service;


import java.util.List;

import com.yuyou.tas.service.api.lesson.entity.LessonClassUserRel;
import com.yuyou.tas.util.bean.ResBoolSimpleInfo;

/**
 * Created by yujin.liu on 2018/5/23.
 */
public interface ILessonClassUserRelService {

    int deleteByPrimaryKey(Long id);

    int insert(LessonClassUserRel record);

    ResBoolSimpleInfo<String> addLessonClassUserRel(LessonClassUserRel record);
    
    LessonClassUserRel selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LessonClassUserRel record);

    int deleteByLessonClassId(Long lessonClassId);
    
    int delByLesClaId7Type(Long lessonClassId,Integer type);

    int delBylesClaPlaChaId(Long lessonClassPlanChapterId);
    
    ResBoolSimpleInfo<String> deleteByClassIdUserId(Long lessonClassId, Long authUserId, Integer type, Long lessonChapterId);

    List<LessonClassUserRel> findByUserId(Long userId);

    ResBoolSimpleInfo<String> changeTeacher(Long lessonClassId, Long originTeacherId, Long destTeacherId, Integer type, Long lessonChapterId);

    ResBoolSimpleInfo<String> addTeacher(Long lessonClassId, Long authUserId, Integer type, Long lessonChapterId);
}
